﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>处理中</title>
</head>
<body>
    <!-- 初始加载动画 -->
    <div class="page-loading">
        <div class="signal-loader">
            <span></span><span></span><span></span><span></span>
        </div>
    </div>

    <script src="/assets/libs/jquery/jquery-3.2.1.min.js"></script>
    <script src="/assets/libs/layui/layui.js"></script>
    <script>
        layui.config({
            base: '/assets/module/'
        }).use(['layer', 'setter', 'admin'], function () {
            var admin = layui.admin;
            var url = layui.url();

            if (url.search.state == 1) {
                admin.putTempData('weixin_user_code', url.search.code, true);
                window.location.href = "weixinLogin.html";
            } else {
                layer.alert(JSON.stringify(url.search));
            }

        });
    </script>
</body>
</html>